<div class="midder">

<div class="mc">


<?php $form=$this->beginWidget('CActiveForm', array(
        'id'=>'group-create-form',
        'enableClientValidation'=>true,
        'clientOptions'=>array(
                'validateOnSubmit'=>true,
        ),
)); ?>

<fieldset>
<legend>创建小组</legend>


<?php echo $form->errorSummary($model); ?>

        <div>
                <?php echo $form->labelEx($model,'groupname'); ?>
                <?php echo $form->textField($model,'groupname'); ?>
                <?php echo $form->error($model,'groupname'); ?>
        </div>

        <div>
                <?php echo $form->labelEx($model,'groupdesc'); ?>
                <?php echo $form->textArea($model,'groupdesc'); ?>
                <?php echo $form->error($model,'groupdesc'); ?>
        </div>

</fieldset>
 
<div>

<?php echo CHtml::submitButton('创建小组'); ?>

</div>
 
<?php $this->endWidget(); ?>



</div>

</div>